package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 睡觉信息对象 az_ring_sleep_info
 * 
 * @author liuwp
 * @date 2025-08-18
 */
@Data
public class RingSleepInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关联ring_sleep表id */
    @Excel(name = "关联ring_sleep表id")
    private Long ringSleepId;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private Integer startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private Integer endTime;

    /** 总时间 */
    @Excel(name = "总时间")
    private Integer totalTime;

    /** 睡眠类型 */
    @Excel(name = "睡眠类型")
    private Integer sleepType;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ringSleepId", getRingSleepId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("totalTime", getTotalTime())
            .append("sleepType", getSleepType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
